package com.welsy.authoring.event
{
	import flash.events.Event;
	import com.adobe.cairngorm.control.CairngormEvent;

	/**
	  * The event triggered on course components retrieval
	  * @author Welsy.org
	  */
	public class GetCourseEvent extends CairngormEvent
	{
		// The string which describes this event
		public static var EVENT_GET_COURSE : String = "getCourse";

		public var courseID : int;
				
		/**
		  * The event registration setup
		  * Connects a unique string to this event
		  */
		public function GetCourseEvent( type : String, bubbles : Boolean = true, cancelable : Boolean = false )
		{
			super( EVENT_GET_COURSE, bubbles, cancelable );
		}
     	
     	/**
		  * Override the inherited clone() method, but don't return any state.
		  */
		override public function clone() : Event
		{
			return new GetCourseEvent( type, bubbles, cancelable );
		}	
	}
	
}